package com.kedsoft.andaily.service.impl;

import com.kedsoft.andaily.entity.CunsumerPos;
import com.kedsoft.andaily.mapper.CunsumerPosMapper;
import com.kedsoft.andaily.service.CunsumerPosService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.kedsoft.andaily.vo.CunsumerPosVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 执行人员当前位置 服务实现类
 * </p>
 *
 * @author LGP
 * @since 2019-05-16
 */
@Service
public class CunsumerPosServiceImpl extends ServiceImpl<CunsumerPosMapper, CunsumerPos> implements CunsumerPosService {

    @Autowired
    CunsumerPosMapper cunsumerPosMapper;

    @Override
    public List<CunsumerPosVo> getAllPosVo() {
        return cunsumerPosMapper.getAllPosVo();
    }
}
